Colored barcode decoding

ABSTRACT

In an exemplary embodiment, a method is employed to read an overprinted barcode. An RGB pixel map is obtained from an overprinted color barcode that contains a plurality of disparate colors. A pixel map is allocated for each of the colors detected and each pixel is classified in the one or more pixel maps according to color. One or more barcodes are extracted from the overprinted barcode that correlates to each color detected. Each of the extracted barcodes are then filtered, decoded and read.

This application claims the priority benefit, as a continuation, of U.S.application Ser. No. 12/181,722, filed Jul. 29, 2008, the disclosure ofwhich is incorporated herein by reference in its entirety.

BACKGROUND

The present exemplary embodiments relate to barcode placement anddecoding. They find particular application in conjunction with coloredbarcodes. In one embodiment, a plurality of colored barcodes areoverprinted in the same area to store a greater amount of informationwithin a one dimensional barcode space. However, it is to be appreciatedthat the present exemplary embodiments are also amenable to other likeapplications.

Barcodes are employed in a plurality of industries to provide anefficient and accurate means of inventory control. Generally, thebarcode contains a plurality of bars and spaces within a field todesignate a particular message. A barcode symbol typically consists offive parts: a first quiet zone, a start character, one or more datacharacters (including an optional check character), a stop character,and a second quiet zone. The message generally includes numbers and/orletters that are related to the product or device upon which the barcodeis placed. Such bars can be read by a barcode reader or scanner todiscern the information contained therein.

The mapping between a message and a barcode is referred to as asymbology. The specification of a symbology includes encoding of one ormore digits and/or characters in the message as well as the start markerand the stop marker into bars and space. The quiet zone is generallyrequired before and after the barcode as well as computation of thecheck character to insure the code was read correctly. Some symbologiesutilize interleaving, wherein the first character is encoded utilizingblack bars of varying width. The second character is then encoded, byvarying the width of the white spaces between these bars. Thus,characters are encoded in pairs over the same section of the barcode asthese one dimensional barcodes are printed in a single color (e.g.black). A barcode reader is then utilized to read the code.

Conventionally, readers employ a light output that is sensitive to thereflections from line and space thickness variation. The readertranslates the reflected light into digital data that is transferred toa computer for immediate action or storage. One dimensional barcodes arelimited in the amount of information stored therein by the size of thebarcode. Such size can be dictated by available footprint on a productand/or container utilized therewith. As there are size restrictions forbarcode size and information stored therein, there is a need for systemsand methods to store a greater amount of information within a singlebarcode footprint.

BRIEF DESCRIPTION

In one aspect, a method is employed to read an overprinted barcode. AnRGB pixel map is obtained from an overprinted color barcode thatcontains a plurality of disparate colors. A pixel map is allocated foreach of the colors detected and each pixel is classified in the one ormore pixel maps according to color. One or more barcodes are extractedfrom the overprinted barcode that correlates to each color detected.Each of the extracted barcodes are then filtered, decoded and read.

In another aspect, a system decodes an overprinted barcode. A barcodeintake interface receives a character string and a pixel map classifierclassifies pixels associated with the barcode created from the characterstring. A pixel location identifier identifies the pixels classified bythe pixel map classifier and a barcode extractor extracts two or moredisparate color barcodes from the overprinted barcode. A decodingelement decodes each of the barcodes extracted from the overprintedbarcode.

In yet another aspect, a method is utilized to overprint two or morebarcodes within a one dimensional barcode space. A character string iscreated and the information contained within the character string isevaluated. A one-dimensional barcode symbology is selected to map thecharacter string into a predetermined barcode. The amount of disparatebarcodes are selected to map to the string and a unique color isselected for each barcode. The disparate barcodes are overprinted into aone-dimensional barcode space.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a methodology to overprint a colored barcode, in accordancewith an exemplary embodiment;

FIG. 2 is a methodology to read and decode an overprinted barcode, inaccordance with an exemplary embodiment;

FIG. 3 is a system to create an overprint a multi-colored barcode, inaccordance with an exemplary embodiment;

FIG. 4 is a system for reading and decoding a multi-colored barcode, inaccordance with an exemplary embodiment;

FIG. 5 illustrates a plurality of disparate colored barcodes, accordancewith an exemplary embodiment; and

FIG. 6 illustrates an extracted barcode from a multi-colored barcode, inaccordance with an exemplary embodiment.

DETAILED DESCRIPTION

FIG. 1 illustrates a methodology 100 to overprint multiple disparatebarcodes in a one-dimensional barcode space. As discussed herein, aone-dimensional barcode space is a footprint occupied by aone-dimensional barcode on a surface utilizing substantially anysymbology. At 102, a character string is created. The character stringcan include substantially any number of letters, numbers and/or symbolsthat represent some sort of information. For example, the characterstring can be indicative of a manufacturing date, facility, a lot code,a serial number, etc. The character string can be utilized for productorigin tracking, part numbers, manufacturing lots etc. to provideinformation relevant to the product upon which a barcode is placed.

At reference numeral 104, the amount of information in the characterstring is evaluated. As the number of characters stored in a barcode maybe limited, it is necessary to determine the amount of informationcontained in the character string such that an appropriate number ofdisparate barcodes can be utilized. At 106, a one-dimensional barcodesymbology is selected. Such one dimensional barcode symbology caninclude a Plessey, a U.P.C., a Codabar, a Code 11, a Pharmacode, aPOSTNET, a PostBar, etc. The selection of the barcode symbology can berelated to substantially any factor such as geographic location, markingstandards, institutional protocols, available footprint size, etc.

Regardless of the one-dimensional barcode symbology selected, at 108, adetermination is made as to the amount of disparate barcodes required tomap the character string. This determination is based at least in partupon the size limitations of the barcode, the footprint available, andthe type of symbology selected. For example, three disparate barcodescan be selected for a character string that contains eighty-fourcharacters, wherein each barcode stores twenty-eight characters.

At 110, a unique color is selected for each of the barcodes. Continuingwith the above example, each of the three disparate barcodes can beassigned a particular color, such as cyan, magenta, and yellow. Suchcolor selection can be based at least in part upon the color limitationsof a printing device, user preference, and/or constraints associatedwith decoding the selected barcode symbology. Once the color selectionfor each of the disparate bar codes is complete, at 112, the disparatebarcodes are overprinted in a one dimensional barcode space inconformance with the symbology selected. In one example, each of thedisparate colors can be overprinted in a single one-dimensional barcode.In another example, each of the disparate colors can be printed offsetfrom each other to follow the standards of the one-dimensional barcode.In either case each of the disparate barcodes is printed insubstantially the same location to facilitate the subsequent extractionand decoding of each of the disparate barcodes representative of thecharacter string.

It is to be appreciated that although a standalone architecture isillustrated, that any suitable computing environment can be employed inaccordance with the present embodiments. For example, computingarchitectures including, but not limited to, stand alone,multiprocessor, distributed, client/server, minicomputer, mainframe,supercomputer, digital and analog can be employed in accordance with thepresent embodiment.

A computer 150 illustrates one possible hardware configuration tosupport the systems and methods described herein, including the method100 above. It is to be appreciated that although a standalonearchitecture is illustrated, that any suitable computing environment canbe employed in accordance with the present embodiments. For example,computing architectures including, but not limited to, stand alone,multiprocessor, distributed, client/server, minicomputer, mainframe,supercomputer, digital and analog can be employed in accordance with thepresent embodiment.

The computer 150 can include a processing unit (not shown), a systemmemory (not shown), and a system bus (not shown) that couples varioussystem components including the system memory to the processing unit.The processing unit can be any of various commercially availableprocessors. Dual microprocessors and other multi-processor architecturesalso can be used as the processing unit.

The system bus can be any of several types of bus structure including amemory bus or memory controller, a peripheral bus, and a local bus usingany of a variety of commercially available bus architectures. Thecomputer memory includes read only memory (ROM) and random access memory(RAM). A basic input/output system (BIOS), containing the basic routinesthat help to transfer information between elements within the computer,such as during start-up, is stored in ROM.

The computer 150 can further include a hard disk drive, a magnetic diskdrive, e.g., to read from or write to a removable disk, and an opticaldisk drive, e.g., for reading a CD-ROM disk or to read from or write toother optical media. The computer 150 typically includes at least someform of computer readable media. Computer readable media can be anyavailable media that can be accessed by the computer. By way of example,and not limitation, computer readable media may comprise computerstorage media and communication media. Computer storage media includesvolatile and nonvolatile, removable and non-removable media implementedin any method or technology for storage of information such as computerreadable instructions, data structures, program modules or other data.Computer storage media includes, but is not limited to, RAM, ROM,EEPROM, flash memory or other memory technology, CD-ROM, digitalversatile disks (DVD) or other magnetic storage devices, or any othermedium which can be used to store the desired information and which canbe accessed by the computer.

Communication media typically embodies computer readable instructions,data structures, program modules or other data in a modulated datasignal such as a carrier wave or other transport mechanism and includesany information delivery media. The term “modulated data signal” means asignal that has one or more of its characteristics set or changed insuch a manner as to encode information in the signal. By way of example,and not limitation, communication media includes wired media such as awired network or direct-wired connection, and wireless media such asacoustic, RF, infrared and other wireless media. Combinations of any ofthe above can also be included within the scope of computer readablemedia.

A number of program modules may be stored in the drives and RAM,including an operating system, one or more application programs, otherprogram modules, and program non-interrupt data. The operating system inthe computer 150 can be any of a number of commercially availableoperating systems.

A user may enter commands and information into the computer through akeyboard (not shown) and a pointing device (not shown), such as a mouse.Other input devices (not shown) may include a microphone, an IR remotecontrol, a joystick, a game pad, a satellite dish, a scanner, or thelike. These and other input devices are often connected to theprocessing unit through a serial port interface (not shown) that iscoupled to the system bus, but may be connected by other interfaces,such as a parallel port, a game port, a universal serial bus (“USB”), anIR interface, etc.

A monitor, or other type of display device, is also connected to thesystem bus via an interface, such as a video adapter (not shown). Inaddition to the monitor, a computer typically includes other peripheraloutput devices (not shown), such as speakers, printers etc. The monitorcan be employed with the computer 150 to present data that iselectronically received from one or more disparate sources. For example,the monitor can be an LCD, plasma, CRT, etc. type that presents dataelectronically. Alternatively or in addition, the monitor can displayreceived data in a hard copy format such as a printer, facsimile,plotter etc. The monitor can present data in any color and can receivedata from the computer 150 via any wireless or hard wire protocol and/orstandard.

The computer 150 can operate in a networked environment using logicaland/or physical connections to one or more remote computers, such as aremote computer(s). The remote computer(s) can be a workstation, aserver computer, a router, a personal computer, microprocessor basedentertainment appliance, a peer device or other common network node, andtypically includes many or all of the elements described relative to thecomputer. The logical connections depicted include a local area network(LAN) and a wide area network (WAN). Such networking environments arecommonplace in offices, enterprise-wide computer networks, intranets andthe Internet.

When used in a LAN networking environment, the computer is connected tothe local network through a network interface or adapter. When used in aWAN networking environment, the computer typically includes a modem, oris connected to a communications server on the LAN, or has other meansfor establishing communications over the WAN, such as the Internet. In anetworked environment, program modules depicted relative to thecomputer, or portions thereof, may be stored in the remote memorystorage device. It will be appreciated that network connectionsdescribed herein are exemplary and other means of establishing acommunications link between the computers may be used.

FIG. 2 illustrates a methodology 200 utilized to read and decodebarcodes that are extracted from the overprinted one-dimensional barcodecreated from the methodology 100. At 204, an RGB pixel map is obtainedfrom the overprinted barcode. Such pixel map identifies each of thecolors that are located within the overprinted barcode for extraction.An RGB scanner can be utilized to read substantially any color utilizedto create each of the overprinted barcodes. Such colors include cyan,magenta, yellow, the secondary mixtures red, green, blue, paper white,and mid-gray. Once each of the colors is obtained, at 206, a pixel mapis allocated for each color detected. It is to be appreciated that thepossible different colors created is a function of the number ofdisparate barcodes utilized. For example, if three colors are utilized,a total of eight possible different colors can be created based on thelocation of each of the disparately colored barcodes in relation to eachother.

At 208, each pixel can be classified according to color. Classifyingeach pixel according to color can utilize known measured values thatcorrespond to one or more code values. A rendition of a “good black” isnot required, as whatever rendition is produced by default is therendition that is measured and later recognized. For small numbers ofbarcode (e.g. one or two bits per separation), measurements can bestored in a simple table and searched by linear means. For largernumbers of barcodes, a more sophisticated structure, such as anoct-tree, which is indexed by measurement values, can be built. The datastructure is then searched for all close colors and the closest one ofthe list is identified when a barcode is to be decoded. In this manner,approximately three bits per separation may be printed and subsequentlyrecognized with sufficiently acceptable reproducibility despite page topage and within page variability of the printer. In a preliminary step,all disparate colored barcodes within a single barcode are printed.These are then all measured and if any two adjacent colors areconfusingly similar, one of those colors is eliminated, along with allother colors in which the illuminated color lies. Alternatively, the twocolors can be replaced by the one that has a color that is an averagevalue of the two.

At 210, pixel locations are set to pixel separation values for each ofthe colors present in the pixel. Pixel locations are set to white, at212, for colors that are absent in the pixel. At 214, a barcode isextracted that correlates to each of the disparate colors detected. Atreference numeral 216, each extracted barcode is median filtered and, at218, each column in the extracted bar codes is reduced to apredetermined column average.

At 220, columns that have been extracted are replaced with the averagecolumn width for each of the extracted barcodes. At 222 each extractedbarcode is read and decoded to determine the character string containedtherein. In this manner, a single one-dimensional barcode space canstore a substantially unlimited amount of information since the numberof disparate barcodes is limited only by the number of disparate colorsthat can be separately identified by the RGB scanning device.

FIG. 3 is a system 300 utilized to overprint at least two disparatecolored barcodes in a single location. A string creation interface 302allows a user to enter a plurality of characters associated withparticular information. A string creation interface 302 can be acomputer, a processor or any component suitable to allow data entry andsubsequent review. The string creation interface 302 interfaces with asymbology encoder 304 that accepts the string from the string creationinterface and encodes the string into a predetermined symbology. Thesymbology utilized for encoding the character string can be selected bya user via the string creation interface and/or the symbology encoder304.

The symbology encoder 304 can encode the character string from thestring creation interface 302 by utilizing a color selection element 306and a mapping element 308. The symbology encoder 304 can selectappropriate colors and utilize suitable mapping based on a number offactors including barcode footprint size, marking standards, companyprotocols, etc. The color selection element allows the two or more barcodes to each be associated with a particular color. In one example, thecolor selection element identifies three disparate barcodes and assignsa first barcode with a color cyan, a second barcode with a colormagenta, and a third barcode with a color yellow.

The mapping element 308 is employed to map the character string to aparticular barcode such as a U.P.C., Codabar, Code 11, Code 93, Telepen,etc. In this manner, the symbology encoder 304 can accept the characterstring from the string creation interface 302, determine the number ofcharacters contained within the string, associate the character stringto a particular barcode via the mapping element 308 and assign two ormore colors for the barcode via the color selection element 306.

Once the symbology encoder 304 has provided a suitable barcode and atleast two or more disparate colors associated therewith, a printingdevice 310 places the barcode on a desired surface. The printing device310 can be any suitable marking element capable of receiving andprocessing incoming data to mark a surface, such as paper, velum, oracetate. In one example, the printing device 310 utilizes a xerographicprocess.

FIG. 4 illustrates a system 400 that reads and decodes an overprintedone-dimensional bar code. In one example, the overprinted barcode iscreated as set forth in the system 300 above. A barcode intake interface402 is utilized to read a barcode. In one example, the barcode is aone-dimensional barcode placed on a surface. The barcode intakeinterface 402 can be employed to read a barcode from a distance, whereina scanner or a CCD camera is employed to obtain an RGB pixel map fromthe barcode. Since the overprinted barcode is comprised of a pluralityof disparately colored barcodes, a pixel map is allocated by the barcodeintake interface 402 for each of the colors detected.

A pixel map classifier 404 classifies the disparate barcodes within theoverprinted barcode. Secondary buffers that contain colors that arepresent in the pixel have their corresponding pixel locations set to apixel separation value that corresponds to each buffer's color. Forinstance, if the pixel is present in a cyan sep, the value of the redseparation is stored in a secondary buffer (not shown). Secondarybuffers that do not include colors present in the pixel have theircorresponding pixel set to white to indicate that the color was notpresent. In this manner, the overprinted color barcodes are separated bythe pixel map classifier 404 into a number of separate black and whitebarcodes that can be decoded.

Once classified, a pixel location identifier 406 identifies the locationof each of the disparate colored bar codes within the overprintedbarcode. The barcode extractor 408 extracts a barcode that correlates toeach of the disparate colors detected within the overprinted barcode.The barcode filter 410 median filters each extracted barcode, whereineach column in the extracted bar codes is reduced to a predeterminedcolumn average. Columns that have been extracted are replaced with theaverage column width for each of the extracted barcodes. The decodingelement receives this data from the barcode filter 410 and reads anddecodes each extracted barcode to determine the character stringcontained therein. In this manner, a single one-dimensional barcodespace can store a substantially unlimited amount of information sincethe number of disparate barcodes is limited only by the number ofdisparate colors that can be separately identified by the RGB scanningdevice.

FIG. 5 illustrates an overprinted barcode 510. The overprinted barcodeis a one-dimensional barcode that is comprised of three disparatebarcodes 520, 530 and 540. The barcode 520 is yellow, the barcode 530 ismagenta and the barcode 540 is blue. Each of the barcodes 520-540contains data that is independent of data contained in each of the othertwo barcodes. Such information can include a text string representativeof desired information.

The overprinted barcode 540 includes the barcodes 520, 530, and 540 thatare printed in predetermined locations. In general, the direction in avertical direction is substantially identical for the each of thecolored barcodes. However, horizontal placement can be configured suchthat there is overlap of one or more of the barcodes 520-540 in somelocations and no overlap in others. Each of the various colorcombinations that results from overprinting is designated in the barcode510 and shown herein.

FIG. 6 illustrates an exemplary barcode 610 that is a single color (e.g.magenta) extracted from the overprinted barcode 510. The barcode 610 isstill in a noisy format as it has not gone through a suitable filtrationprocess. The barcode 620, however, has been filtered via a barcodefilter 410 and is suitable for appropriate decoding. A decoding element412 is utilized to decode the clean barcodes, such as the barcode 620utilizing conventional means. For example, the clean barcode 620 can bepresented in a black and white format utilizing a UPC symbology. Thisprocess can be repeated for each of the disparate barcodes that havebeen extracted from the overprinted barcode 510. In this manner, all ofthe data stored within the overprinted barcode 510 is extracted anddecoded and a factor of at least two in terms of storage can be employedto include more information within a single one dimensional barcodespace.

It will be appreciated that various of the above-disclosed and otherfeatures and functions, or alternatives thereof, may be desirablycombined into many other different systems or applications. Also thatvarious presently unforeseen or unanticipated alternatives,modifications, variations or improvements therein may be subsequentlymade by those skilled in the art which are also intended to beencompassed by the following claims.

1. A method to overprint two or more color barcodes within a one dimensional barcode space, comprising: creating a character string; evaluating the information contained within the character string; selecting a one-dimensional barcode symbology to map the character string into a predetermined barcode; determining the amount of disparate barcodes to map to the string; selecting a unique color for each barcode; and overprinting the disparate color barcodes into a one-dimensional barcode space.
 2. The method according to claim 1, further including: reading the overprinted color barcode; classifying pixels associated with the barcode from the overprinted color barcode; identifying the pixels classified by the pixel map classifier; extracting two or more disparate color barcodes from the overprinted color barcode; and decoding each of the barcodes extracted from the overprinted color barcode.
 3. The method according to claim 2, wherein extracting two or more disparate color barcodes from the overprinted color barcode includes: identifying the presence of the unique color of each color barcode within an individual bar of the overprinted barcode based on the color code value of the bar.
 4. The method according to claim 3, wherein if the presence of any two adjacent colors of a bar are similar, the color is replaced with one that is an average of the two adjacent colors.
 5. The method according to claim 1, wherein the two or more color barcodes are the same size and occupy the same footprint.
 6. The method according to claim 1, where the one-dimensional barcode space includes a plurality of bars and spaces within a field.
 7. The method according to claim 1, wherein the one-dimensional barcode space includes a plurality of bars and spaces of uniform height and placed in sequence with a common axis.
 8. The method according to claim 1, wherein the color of each overprinted bar in a one-dimensional barcode space includes the unique colors of each bar of each disparate color barcode that occupy the same space in the one-dimensional barcode space.
 9. The method according to claim 8, wherein the color of individual barcodes include cyan, magenta, yellow, and each bar of the overprinted barcode includes at least one of cyan, magenta, yellow, red, green, blue, paper white, and mid-gray.
 10. The method according to claim 8, wherein the color of a first barcode is cyan, and the color of a second barcode is magenta, and the overprinted barcode includes printed bars which include at least one of: cyan, magenta, and blue.
 11. The method according to claim 1, wherein the one-dimensional barcode symbology includes at least one of: Plessey; Universal Product Code (U.P.C); Coda bar; Code 11; Code 93; Telepen; Pharmacode; POSTNET; and PostBar.
 12. The method according to claim 1, wherein overprinting includes printing in substantially the same location.
 13. The method according to claim 1, wherein overprinting follows the standards of the each disparate barcode.
 14. The method according to claim 1, wherein the overprinted disparate color barcodes include at least 3 color code value bits of separation.
 15. A method to print two or more color barcodes within a one dimensional barcode space, comprising: creating a character string; evaluating the information contained within the character string; selecting a one-dimensional barcode symbology to map the character string into a predetermined barcode; determining the amount of color barcodes to map to the string; selecting a unique color for each color barcode; and printing the color barcodes into a one-dimensional barcode space.
 16. The method according to claim 15, wherein any overlapping of the color barcode is represented as a combination of the unique color for each color barcode. 